package com.netease.xone.fragment;

import android.app.Activity;

import com.netease.log.NTLog;


abstract public class FragCellPhoneBase extends FragmentBase {
    protected IFragCellPhone mIFragCellPhone;
    @Override
    public void onAttach(Activity activity) {
        super.onAttach(activity); // This makes sure that the container activity has implemented // the callback interface. If not, it throws an exception
        try {
            mIFragCellPhone = (IFragCellPhone) activity;
        } catch (ClassCastException e) {
            throw new ClassCastException(activity.toString() + " must implement IFragCellPhone");
        }
        NTLog.i("FragCellPhoneBase", "onAttach");
    }
}
